//
//  RadioModel.m
//  项目
//
//  Created by 杨世博 on 15-1-4.
//  Copyright (c) 2015年 张诗雨. All rights reserved.
//

#import "RadioModel.h"

@implementation RadioModel
- (void)dealloc
{
    [_title release];
    [_covering release];
    [_baseing release];
    [_guide release];
    [_userinfo release];
    [_radioid release];
    [super dealloc];
}
- (instancetype)initWithTitle:(NSString *)title covering:(NSString *)covering baseing:(NSString *)baseing guide:(NSString *)guide userinfo:(NSMutableDictionary *)userinfo isnew:(BOOL)isnew radioid:(NSString *)radioid
{
    self = [super init];
    if (self) {
        self.title = title;
        self.covering = covering;
        self.baseing = baseing;
        self.guide = guide;
        self.isnew = isnew;
        self.radioid = radioid;
        self.userinfo = [NSMutableDictionary dictionary];
    }
    return self;
}

+ (instancetype)radioModelWithTitle:(NSString *)title covering:(NSString *)covering baseing:(NSString *)baseing guide:(NSString *)guide userinfo:(NSMutableDictionary *)userinfo isnew:(BOOL)isnew radioid:(NSString *)radioid
{
    RadioModel *model = [[RadioModel alloc] initWithTitle:title covering:covering baseing:baseing guide:guide userinfo:userinfo isnew:isnew radioid:radioid];
    return [model autorelease];
}





- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
- (id)valueForUndefinedKey:(NSString *)key
{
    return @"";
}

@end
